// app.js
App({
  globalData: {
    token: null,
    userInfo: null
  },
  onLaunch: function() {
    // 小程序启动时清除所有本地存储的用户信息
    wx.removeStorageSync('token');
    wx.removeStorageSync('userInfo');
    console.log('app onLaunch');
  },
  onShow: function() {
    console.log('app onShow');
  }
})

require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')